efform_onload = function ()
{

};  

button_query_onclick = function (){
	efgrid.submitInqu( "ef_grid_result", "ZM","ZMCG93","query");
}

button_insert_onclick = function (){
	efgrid.submitInqu( "ef_grid_result", "ZM","ZMCG93","insert");
}

button_update_onclick = function (){
	efgrid.submitInqu( "ef_grid_result", "ZM","ZMCG93","update");
}

button_delete_onclick = function() {
	if (isSelected("ef_grid_result") == 0)return;
	EFConfirm('你确认要删除吗?', '确认框',function(r) {
				if (r)efgrid.submitForm("ef_grid_result", "ZM", "ZMCG93","delete", true);
	});
}